{{include template('public/header','admin')}}
<body>
    <div id="page-wrapper">
        <div class="row">
            <div class="col-lg-12">
                <div class="page-header">
                    <a href="javascript:;" onclick="layer_dels('ids')" class="btn btn-danger radius"><i class="glyphicon glyphicon-trash"></i> 批量删除</a>
                    <a class="btn btn-success" href="/diyform/diyform"><i class="glyphicon glyphicon-chevron-left"></i> 表单管理</a>

                </div>
                <div class="search">

                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-lg-12">
                <form method="post" action="/diyform/diyform_info/batchremove" class="form-inline" role="form" id="cpform" name="cpform">
                    <input type='hidden' name='modelid' value="{{$modelid}}" />
                    <input type='hidden' name='optype' value="del" />
                    <table class="table table-condensed table-hover table-striped tablesorter table-fixed table-selectable">
                        <thead>
                            <tr>
                            <tr class="text-c">
                                <th width="70"><input type="checkbox" name="chkall" id="chkall" class="checkbox" onclick="checkAll('prefix', this.form, 'ids')" />全选</th>
                                <th width="70">ID</th>
                                <th>用户名</th>
                                <th>用户IP</th>
                                <th>时间</th>
                                <th>管理操作</th>
                            </tr>
                            </tr>
                        </thead>
                        <tbody>
                            {{foreach $items as $item}}
                            <tr>
                                <td><input type="checkbox" class="checkbox" name="ids[]" value="{{$item.id}}" /></td>
                                <td >{{$item.id}}</td>
                                <td >{{$item.username}}</td>
                                <td >{{$item.ip}}</td>
                                <td >{{date("Y-m-d H:i:s",$item.inputtime)}}</td>
                                <td>
                                    <a href="javascript:;" onclick="layer_open('查看详细', '/diyform/diyform_info/view', '750', '500')"  class="btn-mini btn-secondary ml-5"  style="text-decoration:none">查看详细</a>
                                </td>
                            </tr>
                            {{/foreach}}
                        </tbody>
                    </table>
                </form>
            </div>
        </div>
    </div>
</body>
</html>

